package com.wrial.mall.product.feign;
/*
 * @Author  Wrial
 * @Date Created in 16:43 2020/5/19
 * @Description
 */

import com.wrial.common.utils.R;
import com.wrial.mall.product.vo.SkuHasStockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("mall-ware")
public interface WareFeignService {
    @PostMapping("/ware/waresku/hasstock")
    R getSkusHasStock(@RequestBody List<Long> skuIds);
}
